var express = require('express');
var router = express.Router();
var buildController = require("../../api/admin/build");

router.get('/', buildController.getbuildPage);

router.get('/:id',buildController.getbuildById);

router.post('/',buildController.addBuild);

router.put('/:id',buildController.updateBuild);

router.delete('/',buildController.delBuildByIds);

module.exports = router;